package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.PaymentMapper;
import com.spark.incoicings.service.PaymentService;
import com.spark.invoicings.entity.Payment;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PaymentServiceImpl extends ServiceImpl<PaymentMapper, Payment> implements PaymentService {
    @Resource
    private PaymentMapper pm;
    @Override
    public List<Payment> selectPayment(Integer supplierId) {
        return pm.selectPayment(supplierId);
    }
}
